/*
 * @Autor: zwf
 * @Date: 2022-09-05 21:28:51
 * @Version: 1.0
 * @Description: 全局加载封装
 **/
import { ElMessage } from 'element-plus'

const ekMessage = {
    success(message){
        ElMessage({
            message: message,
            type: 'success',
        })
    },
    warning(message){
        ElMessage({
            message: message,
            type: 'warning',
        })
    },
    message(message){
        ElMessage(message)
    },
    error(message){
        ElMessage.error(message)
    }
}
export default ekMessage

